package com.jiayang.hhotel.bean;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/16 0016.
 * 返回状态数据类
 */

public class InfoModel implements IModel {


    /**
     * state : 9
     * info :
     */

    private int state;
    private String info;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "InfoModel{" +
                "state=" + state +
                ", info='" + info + '\'' +
                '}';
    }
}
